package cn.meng.base.service;

import cn.meng.base.mapper.UserMapper;
import cn.meng.base.vo.UserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 管理员Service实现类
 * @author 万梦辉
 */
@Service
public class UserServiceImpl implements UserService{

    @Autowired
    private UserMapper userMapper;

    @Override
    public UserVo getUserByEmail(String email) {
        return userMapper.getUserByEmail(email);
    }
}
